<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/common/jsp/cssAndScript.jsp"%>
<%@ include file="/common/jsp/taglibs-nojs-nocss.jsp"%>
<%@ include file="/pages/head.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>鼎烜电力集团网络办公平台</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
</head>
<body style="overflow:hidden;">
<table border="0" style="width: 100%">
	<tr><td align="center" style="width: 50%"><div id="container_border">
		<div class="content_title"><h3 class="priceRulelist_title_pic_2">消息提醒列表</h3></div>
		<p class="modle_hr"></p>
	<div class="window_1" style="height:145px;">
		<div class="wbs_scroll" style="height:23px;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="gridview">
			<thead>
				<tr class="title">
					<td width="10%" align="center" >序号</td>
					<td width="40%" align="center" >提醒内容</td>
				</tr>
			</thead>
		</table>
		</div>
			<div class="wbs_scroll" style="height:145px;">
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="gridview" id="sale_saleChance_table">
					<tbody class="mytbody">
						<s:action name="remindAction!getRemindCountByType" executeResult="false"  id="remindData" namespace="/remind"></s:action>
						<s:if test="#remindData.map!=null && #remindData.map.size()>0">
							<s:iterator id="ddd" value="#remindData.map" status="status">
								<tr <s:if test="#status.odd"> class="odd_title" </s:if><s:else>class="even_title "</s:else>>
									<td width="10%"><s:property value="#status.count"/></td>
									<td width="40%">
										 <s:if test="key=='PersonPlan'">
										 	目前您收到了&nbsp;<s:property value="value"/>&nbsp;条新的未按时完成工作计划的提醒！<a href="<%=basePath %>remind/remindAction!getAllRemindByType?condition.objClassName=<s:property value="key"/>">点击此处查看详情</a>
										 </s:if>
										 <s:elseif test="key=='Customer'">
										 	目前您收到了&nbsp;<s:property value="value"/>&nbsp;条新的未及时更新客户的提醒！<a href="<%=basePath %>remind/remindAction!getAllRemindByType?condition.objClassName=<s:property value="key"/>">点击此处查看详情</a>
										 </s:elseif>
										 <s:elseif test="key=='CustomerCare'">
										 	目前您收到了&nbsp;<s:property value="value"/>&nbsp;条新的未及时更新客户关怀的提醒！<a href="<%=basePath %>remind/remindAction!getAllRemindByType?condition.objClassName=<s:property value="key"/>">点击此处查看详情</a>
										 </s:elseif>
										  <s:elseif test="key=='StopTrip'">
										 	目前您收到了&nbsp;<s:property value="value"/>&nbsp;条新的提前结束出差提醒！<a href="<%=basePath %>remind/remindAction!getAllRemindByType?condition.objClassName=<s:property value="key"/>">点击此处查看详情</a>
										 </s:elseif>
									</td>
								</tr>
							</s:iterator>
						</s:if>
						<s:else><tr><td align="center" colspan="4">无记录</td></tr></s:else>
			</tbody></table></div></div></div></td>
 <td rowspan="2">
 <div id="main_container">
	<div id="container_border">
		<div class="content_title">
			<h3 class="priceRulelist_title_pic_2">
				公告信息列表
			</h3>
		</div>
		<p class="modle_hr"></p>
		<div class="window_1">
			<div class="wbs_scroll" style="height:23px;">
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="gridview">
					<thead>
						<tr class="title">
							<td width="60%" align="center">公告内容</td>
							<td width="17%" align="center">公告等级</td>
							<td width="23%" align="center">公告时间</td>
						</tr>
					</thead>
				</table>
				</div>
				<div class="wbs_scroll" style="height:400px;" >
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="gridview" id="sale_saleChance_table">
					<tbody class="mytbody">
						<s:action name="getShowIndexBroadcast" executeResult="false"  id="broadcastData" namespace="/broadcast"></s:action>
						<s:if test="#broadcastData.broadcasts!=null && #broadcastData.broadcasts.size()>0">
							<s:iterator id="#broadcastData.broadcasts" value="#broadcastData.broadcasts" status="status">
								<tr <s:if test="#status.odd"> class="odd_title" </s:if><s:else>class="even_title "</s:else>>
									<td width="60%" height="100%">
										<s:if test="isNew==1">
											<img src="../common/img/new.gif"/>
										</s:if>
										${content}
									</td>
									<td width="17%" align="center">
										<s:if test="leavel==1">
											<font color="red">★★★★★</font>
										</s:if>
										<s:elseif test="leavel==2">
											<font color="red">★★★</font>☆☆
										</s:elseif>
										<s:elseif test="leavel==3">
											<font color="red">★</font>☆☆☆☆
										</s:elseif>
									</td>
									<td width="23%">${createDate}</td>
								</tr>
							</s:iterator>
						</s:if>
						<s:else>
							<tr>
								<td align="center" colspan="4">
									无记录
								</td>
							</tr>
						</s:else>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>
 </td>
</tr>
 <tr>
	<td align="center"  style="width: 50%">
	<div id="container_border">
		<div class="content_title"><!--<h3 class="priceRulelist_title_pic_2">代办任务列表</h3> --></div>
		<p class="modle_hr"></p>
	<div class="window_1" style="height:150px;">
		<div class="wbs_scroll" style="height:23px;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="gridview">
			<!-- <thead>
				<tr class="title">
					<td width="10%" align="center" >序号</td>
					<td width="40%" align="center" >任务内容</td>
				</tr>
			</thead> -->
		</table>
		</div>
			<div class="wbs_scroll" style="height:150px;">
			<!-- <table width="100%" border="0" cellpadding="0" cellspacing="0" class="gridview" id="sale_saleChance_table">
					<tbody class="mytbody">
					</tbody>
				</table>-->
			</div>
		</div>
		</div> 
		</td>
		</tr>
		</table>
	</body>
</html>